package com.regentsoft.cloudback.vo.req;

import io.swagger.annotations.ApiModelProperty;

/**
 * Created by work on 2017/12/2.
 *
 * @author lumr
 */
public class CompanyActivationQueryReq {

    @ApiModelProperty(notes = "父激活码", required = true)
    private String code;
    @ApiModelProperty(notes = "状态", required = true)
    private Integer status;
    @ApiModelProperty(notes = "页数", required = true)
    private Integer pageCount;
    @ApiModelProperty(notes = "每页大小", required = true)
    private Integer pageSize;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPageCount() {
        return pageCount;
    }

    public void setPageCount(Integer pageCount) {
        this.pageCount = pageCount;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getStart() {
        return (pageCount - 1) * pageSize;
    }

}
